package com.lanou.zhihu.entity;

/**
 * Created by QuChao on 2018/10/24.
 */
public class Answer {
    private Integer id;
    private Integer qid;
    private Integer uid;
    private String content;
    private Integer state;
    private Integer delstate;

    @Override
    public String toString() {
        return "Answer{" +
                "id=" + id +
                ", qid=" + qid +
                ", uid=" + uid +
                ", content='" + content + '\'' +
                ", state=" + state +
                ", delstate=" + delstate +
                '}';
    }

    public Answer() {
    }

    public Answer(Integer id, Integer qid, Integer uid, String content, Integer state, Integer delstate) {
        this.id = id;
        this.qid = qid;
        this.uid = uid;
        this.content = content;
        this.state = state;
        this.delstate = delstate;
    }

    public Integer getDelstate() {
        return delstate;
    }

    public void setDelstate(Integer delstate) {
        this.delstate = delstate;
    }

    public Integer getState() {
        return state;
    }

    public void setState(Integer state) {
        this.state = state;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getQid() {
        return qid;
    }

    public void setQid(Integer qid) {
        this.qid = qid;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }
}
